package com.jiankang.service.impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.jiankang.dao.HealthcareDao;
import com.jiankang.entity.Healthcare;
import com.jiankang.entity.Makeappointment;
import com.jiankang.service.HealthcareService;
import com.jiankang.util.Page;
@Service("healthcareService")
public class HealthcareServiceImpl implements HealthcareService {
	@Resource
	private HealthcareDao healthcareDao;
	@Override
	public long getAllProductCount() {
		// TODO Auto-generated method stub
		return healthcareDao.getAllProductCount();
	}
	@Override
	public List<Healthcare> getHealthFile(Page page) {
		// TODO Auto-generated method stub
		return healthcareDao.getHealthFile(page);
	}
	@Override
	public List<Healthcare> selectthcare() {
		// TODO Auto-generated method stub
		return healthcareDao.selectthcare();
	}
	@Override
	public long getAllProductCountmakeappointment() {
		// TODO Auto-generated method stub
		return healthcareDao.getAllProductCountmakeappointment();
	}
	@Override
	public List<Makeappointment> getHealthFilemakeappointment(Page page) {
		// TODO Auto-generated method stub
		return healthcareDao.getHealthFilemakeappointment(page);
	}
	@Override
	public List<Makeappointment> selectmakeappointment() {
		// TODO Auto-generated method stub
		return healthcareDao.selectmakeappointment();
	}

}
